// 这里是除了 登录页面意外的所有页面配置

const allRoutes = [
    {
      path: "manage",
      component: () =>
        import(/*webpackChunkName:"manage" */ "../components/page/manage"),
      name: "manage",
      meta: {
        //储存一些属性
        fullPath: "/manage",
        icon: "iconfont icon-cangchuguanli",
        name: "管理首页",
      },
    },
    {
      path: "Student",
      component: () =>
        import(/*webpackChunkName:"Student" */ "../components/page/Student"),
      name: "Student",
      redirect:"/Student/TraineeManagement",
      meta: {
        //储存一些属性
        fullPath: "/Student",
        icon: "iconfont icon-xingzhengguanli",
        name: "学员管理",
      },
      children: [
        {
          path: "TraineeManagement",
          component: () =>
            import(/*webpackChunkName:"TraineeManagement" */ "../components/page/Student/TraineeManagement"),
          name: "TraineeManagement",
          
          meta: {
            //储存一些属性
            fullPath: "/Student/TraineeManagement",
            icon: "iconfont icon-a-Talent",
            name: "学员项目管理",
          },
        },
        {
          path: "student-response",
          component: () =>
            import(/*webpackChunkName:"student-response" */ "../components/page/Student/student-response"),
          name: "student-response",
          meta: {
            //储存一些属性
            fullPath: "/Student/student-response",
            icon: "iconfont icon-helihuajianyi",
            name: "学员资料",
          },
        },
        {
          path: "students-l",
          component: () =>
            import(/*webpackChunkName:"students-l" */ "../components/page/Student/students-l"),
          name: "students-l",
          meta: {
            //储存一些属性
            fullPath: "/Student/students-l",
            icon: "iconfont icon-a-Gembawalk",
            name: "学员宿舍",
          },
        },
      ]
    },
    {
      path: "Attendance",
      component: () =>
        import(/*webpackChunkName:"Attendance" */ "../components/page/Attendance"),
      name: "Attendance",
      meta: {
        //储存一些属性
        fullPath: "/Attendance",
        icon: "iconfont icon-renshiguanli",
        name: "考勤管理",
      },
    },
    {
      path: "SeriesDataset",
      component: () =>
        import(/*webpackChunkName:"SeriesDataset" */ "../components/page/SeriesDataset"),
      name: "SeriesDataset",
      meta: {
        //储存一些属性
        fullPath: "/SeriesDataset",
        icon: "iconfont icon-paichanguanli",
        name: "数据统计",
      },
    },
    {
      path: "center",
      component: () =>
        import(/*webpackChunkName:"center" */ "../components/page/center"),
      name: "center",
      meta: {
        //储存一些属性
        fullPath: "/center",
        icon: "iconfont icon-quanxianguanli",
        name: "我的中心",
      },
    },
    {
      path: "usersInfos",
      component: () =>
        import(/*webpackChunkName:"usersInfos" */ "../components/page/usersInfos"),
      name: "usersInfos",
      meta: {
        //储存一些属性
        fullPath: "/usersInfos",
        icon: "iconfont icon-xiangmu",
        name: "用户管理",
      },
    },
    {
      path: "vips",
      component: () =>
        import(/*webpackChunkName:"vips" */ "../components/page/vips"),
      name: "vips",
      redirect:"/vips/recharge",
      meta: {
        //储存一些属性
        fullPath: "/vips",
        icon: "iconfont icon-renshiguanli",
        name: "vip管理",
      },
      children: [
        {
          path: "recharge",
          component: () =>
            import(/*webpackChunkName:"recharge" */ "../components/page/vips/recharge"),
          name: "recharge",
          meta: {
            //储存一些属性
            fullPath: "/vips/recharge",
            icon: "iconfont icon-zichanguanli",
            name: "vip充值",
          },
        },
        {
          path: "Order",
          component: () =>
            import(/*webpackChunkName:"Order" */ "../components/page/vips/Order"),
          name: "Order",
          meta: {
            //储存一些属性
            fullPath: "/vips/Order",
            icon: "iconfont icon-caigouguanli",
            name: "订单管理",
          },
        },
      ]
    },
  ];

  export default allRoutes;